package com.sixth.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class CouponVO {

    Integer id;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date addTime;
    Short days;
    Boolean deleted;
    //优惠券使用范围
    String desc;
    BigDecimal discount;
    Short goodsType;
    String goodsValue;
    Short limit;
    BigDecimal min;
    String name;
    Short status;
    String tag;
    Short timeType;
    Integer total;
    Short type;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date updateTime;
    String code;
}
